    function [CMDs] = FC_Model_Rotate(mws, Component, ChosenName, X, Y, Z) % 单引号

        CMDs = '';
        CMDs = [CMDs 'With Transform'];
        CMDs = [CMDs 10 '    .Reset'];
        CMDs = [CMDs 10 '    .Name "' Component ':' ChosenName '"'];
        CMDs = [CMDs 10 '    .Origin "Free"'];
        CMDs = [CMDs 10 '    .Center "0", "0", "0"'];
        CMDs = [CMDs 10 '    .Angle "' X '", "' Y '", "' Z '"'];
        CMDs = [CMDs 10 '    .MultipleObjects "True"'];
        CMDs = [CMDs 10 '    .GroupObjects "False"'];
        CMDs = [CMDs 10 '    .Repetitions "1"'];
        CMDs = [CMDs 10 '    .MultipleSelection "False"'];
        CMDs = [CMDs 10 '    .Destination ""'];
        CMDs = [CMDs 10 '    .Material ""'];
        CMDs = [CMDs 10 '    .Transform "Shape", "Rotate"'];
        CMDs = [CMDs 10 'End With'];

        invoke(mws, 'AddToHistory', ['旋转_' ChosenName '_Z轴' Z], CMDs);
    end
